package com.company.cloud.mall.modules.base.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.company.cloud.common.bean.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 5_订单发货 
 * </p>
 *
 * @author anros
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_order_shipping")
public class OrderShipping extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 发货流水号
     */
     @ApiModelProperty(value = "发货流水号")
    @TableId(value = "sn", type = IdType.INPUT)
      private String sn;

    /**
     * 订单流水号
     */
     @ApiModelProperty(value = "订单流水号")
      private String orderSn;

    /**
     * 配送方式
     */
     @ApiModelProperty(value = "配送方式")
      private String shippingMethod;

    /**
     * 运单号
     */
     @ApiModelProperty(value = "运单号")
      private String trackingNo;

    /**
     * 物流公司名称
     */
     @ApiModelProperty(value = "物流公司名称")
      private String deliveryCorpName;

    /**
     * 物流公司编号
     */
     @ApiModelProperty(value = "物流公司编号")
      private String deliveryCorpCode;

    /**
     * 物流费用
     */
     @ApiModelProperty(value = "物流费用")
      private BigDecimal freight;

    /**
     * 备注
     */
     @ApiModelProperty(value = "备注")
      private String memo;

    /**
     * 收货人姓名
     */
     @ApiModelProperty(value = "收货人姓名")
      private String consigneeName;

    /**
     * 收货人电话
     */
     @ApiModelProperty(value = "收货人电话")
      private String consigneePhone;

    /**
     * 收货人省份
     */
     @ApiModelProperty(value = "收货人省份")
      private String consigneeProvince;

    /**
     * 收货人城市
     */
     @ApiModelProperty(value = "收货人城市")
      private String consigneeCity;

    /**
     * 收货人地区
     */
     @ApiModelProperty(value = "收货人地区")
      private String consigneeRegion;

    /**
     * 收货人街道
     */
     @ApiModelProperty(value = "收货人街道")
      private String consigneeStreet;

    /**
     * 收货人详细地址
     */
     @ApiModelProperty(value = "收货人详细地址")
      private String consigneeAddr;

    /**
     * 发货时间
     */
     @ApiModelProperty(value = "发货时间")
      private LocalDateTime sendDate;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 修改人
     */
     @ApiModelProperty(value = "修改人")
      private Integer eman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 修改时间
     */
     @ApiModelProperty(value = "修改时间")
      private LocalDateTime edt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 修改人IP
     */
     @ApiModelProperty(value = "修改人IP")
      private String eip;


}
